dfdbae8f297b902440edda68374896357e8004b8,ownNoteEditor/src/tf/ownnote/ui/main/OwnNoteEditor.java,OwnNoteEditor,showNotesEditor,#,740

Before Change


        hideNode(noteEditor, ".html-editor-foreground", 1);
        hideNode(noteEditor, ".html-editor-background", 1);
        // remove: font type & font size control - the 2nd and 3rd control with "font-menu-button" style class
        hideNode(noteEditor, ".font-menu-button", 2);
        hideNode(noteEditor, ".font-menu-button", 3);
        // add: insert link & picture + print controls
        addNoteEditorControls();

After Change


        noteEditor.setHtmlText("");

        // only init things once
        if (!noteEditorInitDone) {
            // remove: foreground & background control
            hideNode(noteEditor, ".html-editor-foreground", 1);
            hideNode(noteEditor, ".html-editor-background", 1);
            // remove: font type & font size control - the 2nd and 3rd control with "font-menu-button" style class
            hideNode(noteEditor, ".font-menu-button", 2);
            hideNode(noteEditor, ".font-menu-button", 3);
            // add: insert link & picture + print controls
            addNoteEditorControls();